package org.bigdata.framework.core.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;

/**
 * <p>
 * 微课表
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2019-11-19
 */
public class Online implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 大纲名称
	 */
	private String name;

	/**
	 * 类型（0-视频播放 1-ppt播放）
	 */
	private Integer type;

	/**
	 * 视频地址（存储上传后的相对地址）
	 */
	@TableField(value="video_path")
	private String videoPath;

	/**
	 * ppt地址（配置h5版的ppt播放地址，从http://开头）
	 */
	@TableField(value="ppt_path")
	private String pptPath;

	/**
	 * 大纲描述
	 */
	private String description;

	/**
	 * 关联课程表
	 */
	@TableField(value="course_id")
	private Integer courseId;

	/**
	 * 微课标签
	 */
	private String tag;

	/**
	 * 价格
	 */
	private String price;

	/**
	 * PDF文件地址
	 */
	@TableField(value="pdf_path")
	private String pdfPath;

	/**
	 * 状态（-1-已注销 0-待审核 1-审核通过 2-已上架 3-已下架）
	 */
	private Integer status;

	/**
	 * 创建人
	 */
	@TableField(value="create_user")
	private String createUser;

	/**
	 * 创建时间
	 */
	@TableField(value="create_time")
	private String createTime;

	/**
	 * 审核类型
	 */
	@TableField(value="audit_type")
	private String auditType;

	/**
	 * ppt文件地址
	 */
	@TableField(value="ppt_file_path")
	private String pptFilePath;
	
	/**
	 * pdf文件地址
	 */
	@TableField(value="pdf_file_path")
	private String pdfFilePath;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getVideoPath() {
		return videoPath;
	}

	public void setVideoPath(String videoPath) {
		this.videoPath = videoPath;
	}

	public String getPptPath() {
		return pptPath;
	}

	public void setPptPath(String pptPath) {
		this.pptPath = pptPath;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getCourseId() {
		return courseId;
	}

	public void setCourseId(Integer courseId) {
		this.courseId = courseId;
	}

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getPdfPath() {
		return pdfPath;
	}

	public void setPdfPath(String pdfPath) {
		this.pdfPath = pdfPath;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getAuditType() {
		return auditType;
	}

	public void setAuditType(String auditType) {
		this.auditType = auditType;
	}

	public String getPptFilePath() {
		return pptFilePath;
	}

	public void setPptFilePath(String pptFilePath) {
		this.pptFilePath = pptFilePath;
	}

	public String getPdfFilePath() {
		return pdfFilePath;
	}

	public void setPdfFilePath(String pdfFilePath) {
		this.pdfFilePath = pdfFilePath;
	}

}
